RewriteEngine On
RewriteRule ^(.*)$ %{REQUEST_URI}public [R,NC,L]